.test{
    min-width: 1160px;
}
body{
    background: #f6f6f6;
}
/* 头部 */
/* 商家信息 */
.shop-info{
    width: 70%;
    height: 260px;
    background-color: #FFF;
    float: left;
}
/* 商家图片 轮播 */
.shop-img{
    width: 29%;
    height: 260px;
    float:right;  
}
.shop-img img{
    width: 100%;
    height: 100%;
}
/* 优惠券 */
.set-coupon{
    width: 70%;
    margin-top: 12px;
    background-color: #FFF;
    float: left;
}
.coupon {
    display: inline-flex;
    color: white;
    position: relative;
    margin: 1rem;
    /** 这里不能用百分号，因为百分号是分别相对宽和高计算的，会导致弧度不同  */
    border-top-right-radius: .3rem;
    border-bottom-right-radius: .3rem;
    overflow: hidden;
}
.coupon-yellow {
    background-color: #F39B00;
}
.coupon-yellow-gradient {
    background-image: linear-gradient(150deg, #F39B00 50%, #F39B00D8 50%);
}
.coupon-red-gradient {
    background-image: linear-gradient(150deg, #D24161 50%, #D24161D8 50%);
}
.coupon-green-gradient {
    background-image: linear-gradient(150deg, #7EAB1E 50%, #7EAB1ED8 50%);
}
.coupon-blue-gradient {
    background-image: linear-gradient(150deg, #50ADD3 50%, #50ADD3D8 50%);
}
/* 左边框的波浪 */
.coupon-wave-left::before, .coupon-wave-right::after{
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 14px;
    background-image: radial-gradient(white 0, white 4px, transparent 4px);
    /** 如果只设置为半径的两倍(直径)，那么半圆之间没有类似堤岸的间隔 */
    background-size: 14px 14px;
    background-position: 0 2px;
    background-repeat: repeat-y;
    z-index: 1;
}
.coupon-wave-left::before {
    left: -7px;
}
.coupon-wave-right::after {
    right: -7px;
}
.coupon-info {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
    position: relative;
    min-width: 15rem;
}
.coupon-info-right-dashed {
    border-right: 2px dashed white;
}
.coupon-info-right-solid {
    border-right: 2px solid white;
}
/* 使用两个边框为圆角的白色div制造半圆缺角，有个缺点是这个缺角必须与背景色相同（clip-path不好弄） */
.coupon-hole::before, .coupon-hole::after {
    content: '';
    width: 1rem;
    height: 1rem;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    right: -.5rem;
}
.coupon-info::before {
    top: -.5rem;
}
.coupon-info::after {
    bottom: -.5rem;
}
.coupon-info>div {
    margin-bottom: .2rem;
}
.coupon-price {
    font-size: 250%;
    font-weight: bold;
}
.coupon-price>span {
    font-size: 40%;
    margin-left: .5rem;
    font-weight: normal;
}
.coupon-get {
    padding: 1rem;
    /** 这里使用flex是为了让文字居中 */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-width: 5rem;
    position: relative;
}
.coupon-get>.coupon-desc {
    font-size: 150%;
    margin-bottom: .5rem;
    font-weight: bold;
}
.coupon-get-already::after {
    content: '';
    width: 5rem;
    height: 5rem;
    background-size: 5rem 5rem;
    background-image: url('');
    position: absolute;
    top: -1rem;
    right: -1rem;
}
/* 套餐 */
.set-meal{
    width: 70%;
    height: 155px;
    margin-top: 12px;
    background-color: #FFF;
    float: left;
}
/* 推荐菜品 */
.dishesli-recommend{
    width: 29%;
    height: 710px;
    margin-top: 12px;
    background-color: #FFF;
    float: right;
}
/* 所有菜品 */
.dishesli-all{
    width: 70%;
    height: 320px;
    margin-top: 12px;
    background-color: #FFF;
    float: left;
}
/* 店铺详情 */
.details-shop{
    margin-top: 6px;
    width: 70%;
    height: 500px;
    /* background-color: #a66cfd; */
    float: left;
}

/* 店铺信息 */
.shop-info h1{
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0 20px 15px;
}
.shop-info .score{
    margin-bottom: 10px;
}
.shop-info .score .score-img{
    margin: 0 5px 0 15px;
}
.shop-info .score label i{
    display: inline-block;
    height: 15px;
    width: 16px;
    background-repeat: no-repeat;
}
.shop-info .score label{
    font-size: 16px;
    font-weight: bold;
    color: rgb(255,107,55);
}
.shop-info p{
    font-size: 14px;
    color: #666666;
    margin: 25px 0 10px 15px;
}
.shop-info p span{
    margin-left: 10px;
}
.shop-info .pl{
    margin-left: 10px;
    color: #666666 !important;
    font-weight: normal !important;
}
.shop-info p a:hover{
    color: #333;
}
.shop-info .location{
    display: inline-block;
    margin-left: 5px;
    height: 14px;
    width: 14px;
    background-image: url(https://zhangxu-1023.oss-cn-nanjing.aliyuncs.com/images/details_shop/2022-10-20/5bf4a009f15348bd98bdcb3ba105a484shop-location-icon.svg);
}
.shop-info .collect{
    display: block;
    width: 25px;
    height: 25px;
    margin-top: 20px ;
    float: right;
}
.shop-info .collect i{
    display: block;
    width: 100%;
    height: 100%;
    background-image:url(https://zhangxu-1023.oss-cn-nanjing.aliyuncs.com/images/details_shop/2022-10-20/0c33e04baf2d42a88d794b423fa6fab5shop-collect-before.svg);
}
.shop-info .collect:hover i{
    background-image:url(https://zhangxu-1023.oss-cn-nanjing.aliyuncs.com/images/details_shop/2022-10-20/82a76dec10f94b98846b487e8e766b26shop-collect-after.svg);
}
.shop-info .collect-info{
    display: block;
    width: 45px;
    margin: 23px 10px 0 5px;
    text-align: center;
    float: right;
}

/* 优惠券 */
.set-coupon h1{
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0 10px 15px;
}
.set-coupon .set-meal-coupon{
    width: 98%;
    height: 60%;
    margin-left: 15px;
}
/* 优惠促销 */
.set-meal h1{
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0 10px 15px;
}
.set-meal .set-meal-list{
    width: 98%;
    height: 60%;
    margin-left: 15px;
}
.set-meal .set-meal-list li{
    width: 48%;
    height: 90px;
    margin-right: 12px;
    border: 1px solid #ebebeb;
    float: left;
}
.set-meal .set-meal-list li:hover{
    border: 1px solid rgb(255,107,55);
}
.set-meal .set-meal-list li a:hover{
    color: #333;
}
.set-meal .set-meal-list li img{
    width: 120px;
    height: 100%;
    float: left;
}
.set-meal .set-meal-list li h2{
    font-size: 18px;
    margin: 10px 0 15px 130px;
}
.set-meal .set-meal-list li label{
    margin-left: 10px;
}
.set-meal .set-meal-list li label span{
    font-size: 12px;
}
.set-meal .set-meal-list li .set-mea-price{
    margin-top: 25px;
}
.set-meal .set-meal-list li .now-price .mark{
    font-size: 16px;
}
.set-meal .set-meal-list li .now-price span{
    font-size: 24px;
    color: rgb(255,107,55);
}
.set-meal .set-meal-list li .had-sell{
    margin-left: 50px;
}
.set-meal .set-meal-list li .tuan{
    border-radius: 3px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    margin: 10px 15px 0 0;
    color: #fff;
    background-color: rgb(255,107,55);
    float: right;
}
/* 推荐菜 */
.dishesli-recommend h1{
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0 10px 5%;
}
.dishesli-recommend li{
    width: 90%;
    height: 110px;
    /* background-color: #a66cfd; */
    border-bottom: 1px solid lightgray;
    margin: 0 0 15px 5%;
    padding-bottom: 10px;
}
.dishesli-recommend li img{
    width: 150px;
    height: 80%;
    margin-top: 13px;
    float: left;
}
.dishesli-recommend li :nth-child(2){
    width: 130px;
    height: 20px;
    margin:0 10px 20px 160px;
    padding-top: 30px;
    overflow: hidden;
}
.dishesli-recommend li :nth-child(3){
    width: 150px;
    height: 32px;
    font-size: 12px;
    margin:0 10px 10px 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666666;
}

/* 全部菜品 */
.layui-tab-brief>.layui-tab-title .layui-this{
    color: rgb(255,107,55);
}
.layui-tab-brief>.layui-tab-title li{
    font-size: 16px;
    font-weight: bold;
}
.layui-tab-brief>.layui-tab-title .layui-this:after{
    border-bottom: 2px solid rgb(255,107,55);
}
.dishesli-ads li{
    width: 118px;
    height: 118px;
    float: left;
    margin-left: 13px;
    margin-bottom: 10px;
    border: 1px solid #ebebeb;
}
.dishesli-ads li img{
    width: 100%;
    height: 94.4px;
}
.dishesli-ads li:hover{
    border: 1px solid rgb(255,107,55);
}
.dishesli-ads li a:hover{
    color: #333;
}
.dishesli-ads li p{
    font-size: 12px;
    margin: 3px;
}
.dishesli-ads li label{
    position: relative;
    bottom: 110px;
    left: 75px;
    font-size: 12px;
    color: #FFF;
    text-shadow: 2px 2px 2px rgb(0 0 0 / 65%);
}
.brand-story img{
    width: 300px;
    height: 200px;
    float: left;
    margin: 20px;
}
.brand-story h1{
    font-size: 16px;
    font-weight: 700;
    padding: 20px 0;
}
.brand-story p{
    height: 175px;
    font-size: 14px;
    line-height:25px;
    padding-right: 30px;
    overflow: hidden;
}

/* 地图 */
#container {
    width: 100%;
    height: 100%;
}
.map{
    position: fixed;
    width: 800px;
    height: 450px;
    top: 100px;
    left: 300px;
    display: none;
    background-color: #FFF;
    z-index: 3;
}
.map .closemap{
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(https://zhangxu-1023.oss-cn-nanjing.aliyuncs.com/images/details_shop/2022-10-20/91e6eb8f8c84446297cef24eacce1a2dmap-close-icon.png);
}
.map .title h1{
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0 10px 15px;
}
.map .title p{
    height: 25px;
    font-size: 12px;
    margin: 10px 15px;
    color: #333333;
    border-bottom: 1px solid #ebebeb;
}

/* 蒙版 */
.cover{
    background: #000;
    position: absolute;
    width: 100%;
    left: 0px;
    top: 0px;
    opacity: 0.3;
    z-index: 2;
    display: none;
}